package com.oa.bean;

import java.sql.Date;

public class Notice {

	private Integer nid;  //
	private String ntheme;   //主题
	private String ncontent;  //内容
	private String nappendix;  //附件
	private Integer publisher_id;   //发布人
	private Date publishTime;   //发布时间
	private Integer depart_id;   //部门编号
	private String uname;
	
	public Integer getNid() {
		return nid;
	}
	public void setNid(Integer nid) {
		this.nid = nid;
	}
	public String getNtheme() {
		return ntheme;
	}
	public void setNtheme(String ntheme) {
		this.ntheme = ntheme;
	}
	public String getNcontent() {
		return ncontent;
	}
	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}
	public String getNappendix() {
		return nappendix;
	}
	public void setNappendix(String nappendix) {
		this.nappendix = nappendix;
	}
	public Integer getPublisher_id() {
		return publisher_id;
	}
	public void setPublisher_id(Integer publisher_id) {
		this.publisher_id = publisher_id;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public Integer getDepart_id() {
		return depart_id;
	}
	public void setDepart_id(Integer depart_id) {
		this.depart_id = depart_id;
	}
	
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	@Override
	public String toString() {
		return "Notice [nid=" + nid + ", ntheme=" + ntheme + ", ncontent=" + ncontent + ", nappendix=" + nappendix
				+ ", publisher_id=" + publisher_id + ", publishTime=" + publishTime + ", depart_id=" + depart_id + "]";
	}
	
	
}
